package com.linkvin.ec.hcs.dao.model.mdm;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 车型数据
 * </p>
 *
 * @author qichao
 * @since 2017-12-24
 */
@TableName("mdm_v_model")
public class VModel extends Model<VModel> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("brand_id")
	private Integer brandId;
	@TableField("series_id")
	private Integer seriesId;
    /**
     * 销售情况 1在售，0停售
     */
	@TableField("is_onsale")
	private Integer isOnsale;
    /**
     * 车型
     */
	@TableField("model_name")
	private String modelName;
    /**
     * 出厂年份（Year of Production）
     */
	private String yop;
    /**
     * 厂商
     */
	private String manufacturer;
    /**
     * 发动机型号
     */
	@TableField("engin_model")
	private String enginModel;
    /**
     * 变速箱型号
     */
	@TableField("gearbox_model")
	private String gearboxModel;
    /**
     * 车身结构
     */
	private String structure;
    /**
     * 最高时速
     */
	@TableField("max_speed")
	private String maxSpeed;
    /**
     * 工信部综合油耗(L/100km)
     */
	@TableField("standard_fc")
	private BigDecimal standardFc;
    /**
     * 整车质保
     */
	private String warranty;
    /**
     * 长度(mm)
     */
	private String length;
    /**
     * 宽度
     */
	private String width;
    /**
     * 高度(mm)
     */
	private String height;
    /**
     * 轴距(mm)
     */
	@TableField("wheel_base")
	private String wheelBase;
    /**
     * 整车质量（单位：千克）
     */
	@TableField("net_weight")
	private String netWeight;
    /**
     * 车门数
     */
	private Integer doors;
    /**
     * 座位数
     */
	private String seats;
    /**
     * 油箱容积（适用于汽、柴油车）
     */
	@TableField("max_volume")
	private String maxVolume;
    /**
     * 行李箱容积
     */
	private String luggage;
    /**
     * 排量(单位:L)
     */
	private String displacement;
    /**
     * 进气形式 10 涡轮增压 20自然吸气 30机械增压 40双涡轮增压 50四涡轮增压 60机械+涡轮增压
     */
	@TableField("air_suction")
	private String airSuction;
    /**
     * 气缸排列
     */
	@TableField("cylinder_arrange")
	private String cylinderArrange;
    /**
     * 气缸数
     */
	@TableField("cylinders_number")
	private Integer cylindersNumber;
    /**
     * 最大马力
     */
	@TableField("max_hp")
	private String maxHp;
    /**
     * 最大功率
     */
	@TableField("max_power")
	private String maxPower;
    /**
     * 最大功率转速
     */
	@TableField("max_power_rpm")
	private String maxPowerRpm;
    /**
     * 最大扭矩
     */
	@TableField("max_torque")
	private String maxTorque;
    /**
     * 最大扭矩转速
     */
	@TableField("max_torque_rpm")
	private String maxTorqueRpm;
    /**
     * 燃油形式 10 汽油 20柴油 30 插电式混合动力 40油电混合 50纯电动 60增程式
     */
	@TableField("power_type")
	private String powerType;
    /**
     * 供油方式
     */
	@TableField("oil_supply_type")
	private String oilSupplyType;
    /**
     * 环保标准
     */
	@TableField("ep_standard")
	private String epStandard;
    /**
     * 驱动方式 10 前置四驱 20 前置前驱 30前置后驱 40中置后驱 50中置四驱 60后置后驱
     */
	@TableField("drive_mode")
	private String driveMode;
    /**
     * 最大电量（适用于电动车）
     */
	@TableField("max_capacity")
	private String maxCapacity;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public Integer getSeriesId() {
		return seriesId;
	}

	public void setSeriesId(Integer seriesId) {
		this.seriesId = seriesId;
	}

	public Integer getIsOnsale() {
		return isOnsale;
	}

	public void setIsOnsale(Integer isOnsale) {
		this.isOnsale = isOnsale;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public String getYop() {
		return yop;
	}

	public void setYop(String yop) {
		this.yop = yop;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public String getEnginModel() {
		return enginModel;
	}

	public void setEnginModel(String enginModel) {
		this.enginModel = enginModel;
	}

	public String getGearboxModel() {
		return gearboxModel;
	}

	public void setGearboxModel(String gearboxModel) {
		this.gearboxModel = gearboxModel;
	}

	public String getStructure() {
		return structure;
	}

	public void setStructure(String structure) {
		this.structure = structure;
	}

	public String getMaxSpeed() {
		return maxSpeed;
	}

	public void setMaxSpeed(String maxSpeed) {
		this.maxSpeed = maxSpeed;
	}

	public BigDecimal getStandardFc() {
		return standardFc;
	}

	public void setStandardFc(BigDecimal standardFc) {
		this.standardFc = standardFc;
	}

	public String getWarranty() {
		return warranty;
	}

	public void setWarranty(String warranty) {
		this.warranty = warranty;
	}

	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getWheelBase() {
		return wheelBase;
	}

	public void setWheelBase(String wheelBase) {
		this.wheelBase = wheelBase;
	}

	public String getNetWeight() {
		return netWeight;
	}

	public void setNetWeight(String netWeight) {
		this.netWeight = netWeight;
	}

	public Integer getDoors() {
		return doors;
	}

	public void setDoors(Integer doors) {
		this.doors = doors;
	}

	public String getSeats() {
		return seats;
	}

	public void setSeats(String seats) {
		this.seats = seats;
	}

	public String getMaxVolume() {
		return maxVolume;
	}

	public void setMaxVolume(String maxVolume) {
		this.maxVolume = maxVolume;
	}

	public String getLuggage() {
		return luggage;
	}

	public void setLuggage(String luggage) {
		this.luggage = luggage;
	}

	public String getDisplacement() {
		return displacement;
	}

	public void setDisplacement(String displacement) {
		this.displacement = displacement;
	}

	public String getAirSuction() {
		return airSuction;
	}

	public void setAirSuction(String airSuction) {
		this.airSuction = airSuction;
	}

	public String getCylinderArrange() {
		return cylinderArrange;
	}

	public void setCylinderArrange(String cylinderArrange) {
		this.cylinderArrange = cylinderArrange;
	}

	public Integer getCylindersNumber() {
		return cylindersNumber;
	}

	public void setCylindersNumber(Integer cylindersNumber) {
		this.cylindersNumber = cylindersNumber;
	}

	public String getMaxHp() {
		return maxHp;
	}

	public void setMaxHp(String maxHp) {
		this.maxHp = maxHp;
	}

	public String getMaxPower() {
		return maxPower;
	}

	public void setMaxPower(String maxPower) {
		this.maxPower = maxPower;
	}

	public String getMaxPowerRpm() {
		return maxPowerRpm;
	}

	public void setMaxPowerRpm(String maxPowerRpm) {
		this.maxPowerRpm = maxPowerRpm;
	}

	public String getMaxTorque() {
		return maxTorque;
	}

	public void setMaxTorque(String maxTorque) {
		this.maxTorque = maxTorque;
	}

	public String getMaxTorqueRpm() {
		return maxTorqueRpm;
	}

	public void setMaxTorqueRpm(String maxTorqueRpm) {
		this.maxTorqueRpm = maxTorqueRpm;
	}

	public String getPowerType() {
		return powerType;
	}

	public void setPowerType(String powerType) {
		this.powerType = powerType;
	}

	public String getOilSupplyType() {
		return oilSupplyType;
	}

	public void setOilSupplyType(String oilSupplyType) {
		this.oilSupplyType = oilSupplyType;
	}

	public String getEpStandard() {
		return epStandard;
	}

	public void setEpStandard(String epStandard) {
		this.epStandard = epStandard;
	}

	public String getDriveMode() {
		return driveMode;
	}

	public void setDriveMode(String driveMode) {
		this.driveMode = driveMode;
	}

	public String getMaxCapacity() {
		return maxCapacity;
	}

	public void setMaxCapacity(String maxCapacity) {
		this.maxCapacity = maxCapacity;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "VModel{" +
			", id=" + id +
			", brandId=" + brandId +
			", seriesId=" + seriesId +
			", isOnsale=" + isOnsale +
			", modelName=" + modelName +
			", yop=" + yop +
			", manufacturer=" + manufacturer +
			", enginModel=" + enginModel +
			", gearboxModel=" + gearboxModel +
			", structure=" + structure +
			", maxSpeed=" + maxSpeed +
			", standardFc=" + standardFc +
			", warranty=" + warranty +
			", length=" + length +
			", width=" + width +
			", height=" + height +
			", wheelBase=" + wheelBase +
			", netWeight=" + netWeight +
			", doors=" + doors +
			", seats=" + seats +
			", maxVolume=" + maxVolume +
			", luggage=" + luggage +
			", displacement=" + displacement +
			", airSuction=" + airSuction +
			", cylinderArrange=" + cylinderArrange +
			", cylindersNumber=" + cylindersNumber +
			", maxHp=" + maxHp +
			", maxPower=" + maxPower +
			", maxPowerRpm=" + maxPowerRpm +
			", maxTorque=" + maxTorque +
			", maxTorqueRpm=" + maxTorqueRpm +
			", powerType=" + powerType +
			", oilSupplyType=" + oilSupplyType +
			", epStandard=" + epStandard +
			", driveMode=" + driveMode +
			", maxCapacity=" + maxCapacity +
			"}";
	}
}
